import { Component } from '@angular/core';

@Component({
  selector: 'app-zero',
  templateUrl: './zero.component.html',
  styleUrls: ['./zero.component.css'],
})
export class ZeroComponent {
  name = '';
  onChange() {
    console.log('ngModelChange监听', this.name);
  }
}
